<?php
class FacebookForm extends Form{
	function FacebookForm(){
		Form::Form('FacebookForm');
	}
	
	function draw()
	{
		global $display;
		
		if(ECore::$page['name'] == 'usercp')
		{
			echo '<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FR%25E1%25BB%2593ng-Bay%2F145412968887658&amp;width=185&amp;height=606&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=true&amp;appId=115134451889455" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:185px; height:606px;" allowTransparency="true"></iframe>';
		}
		else
		{
			echo '<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FR%25E1%25BB%2593ng-Bay%2F145412968887658&amp;width=240&amp;height=590&amp;colorscheme=light&amp;show_faces=true&amp;border_color&amp;stream=false&amp;header=true&amp;appId=115134451889455" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:240px; height:590px;" allowTransparency="true"></iframe>';
		}
	}
}
?>